#ifndef __APP_H__
#define __APP_H__

#include "main.h"

#define  BUFFER_SIZE  (255)

/**
 * @brief 
 * 
 * @param dev_num 
 * @param value 
 * @return int 
 */
extern int app_set_vdd(uint8_t dev_num, double value);

/**
 * @brief 
 * 
 * @param dev_num 
 * @param value 
 * @return int 
 */
extern int app_vdd_en(uint8_t dev_num, uint8_t state);

/**
 * @brief 
 * 
 * @return int 
 */
extern int app_start(void);

extern void app_dprintf(const char *format, ...);

#endif //__APP_H__
